package com.lx.txx;


import com.lx.web.ExHandler;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Import;

@SpringBootApplication
@Import(ExHandler.class)
@MapperScan("com.lx.txx.dao")
public class TxxConfigration {

    public static void main(String[] args) {
        SpringApplication.run(TxxConfigration.class, args);
    }
    @Bean
    ExHandler Handler(){
        return new ExHandler();
    }

}
